package net.alan.modules.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Author 李岩飞
 * Email eliyanfei@126.com
 * 2017/12/3
 */
@Component
public class CustomConfig {
    @Value("${upload.chat}")
    private String chatPath;
    @Value("${upload.work}")
    private String workPath;
    @Value("${upload.photo}")
    private String photoPath;

    public String getChatPath() {
        return chatPath;
    }

    public void setChatPath(String chatPath) {
        this.chatPath = chatPath;
    }

    public String getWorkPath() {
        return workPath;
    }

    public void setWorkPath(String workPath) {
        this.workPath = workPath;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }
}
